package com.hsylient.javase.draftpaper;

import org.junit.Test;

import java.util.stream.IntStream;

public class PallTest {


    @Test
    public void testPall() {
        IntStream.range(1, 100).parallel().forEach(item -> {
            System.out.println(Thread.currentThread().getName());
        });
    }
}
